import { httpPost } from '../../utils/axios-utils'
// bom
export function bomList(obj, authConfig) {
  return httpPost('/smart-cost/full_bom/pageList', obj, authConfig)
}
export function bomAdd(obj, authConfig) {
  return httpPost('/smart-cost/full_bom/add', obj, authConfig)
}
export function bomEdit(obj, authConfig) {
  return httpPost('/smart-cost/full_bom/edit', obj, authConfig)
}
export function bomDelete(obj, authConfig) {
  return httpPost('/smart-cost/full_bom/delete', obj, authConfig)
}
// pn
export function pnList(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn/pageList', obj, authConfig)
}
export function pnAdd(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn/add', obj, authConfig)
}
export function pnEdit(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn/edit', obj, authConfig)
}
export function pnDelete(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn/delete', obj, authConfig)
}
// qp
export function qpList(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn_qp/pageList', obj, authConfig)
}
export function qpAdd(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn_qp/add', obj, authConfig)
}
export function qpEdit(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn_qp/edit', obj, authConfig)
}
export function qpDelete(obj, authConfig) {
  return httpPost('/smart-cost/full_bompn_qp/delete', obj, authConfig)
}
// computed
export function fullBomComputed(obj, authConfig) {
  return httpPost('/smart-cost/full_bom/computed', obj, authConfig)
}
